//
//  AnimationUtil.m
//  Nicejinux.NET
//
//  Created by Dong Kwan Noh on 12. 7. 25..
//  Copyright (c) 2012년 Nicejinux.NET. All rights reserved.
//

#import "AnimationUtil.h"

@implementation AnimationUtil

+ (void) quartzAnimation:(UIView *)target:(float)time {
    
	CATransition *transition = [CATransition animation];
	transition.duration = time;
	transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
	
	NSString *types = kCATransitionFade;
    
	transition.subtype = types;
	transition.delegate = self;
	
	[target.layer addAnimation:transition forKey:nil];
}


@end
